/**
 * Created by gouyuheng on 2017/2/13.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import stateModule from './modules/stateModule'
import userInfoModule from './modules/userInfoModule'
import userAddressModule from './modules/userAddressModule'
import userOrderModule from './modules/userOrderModule'
import empowerModule from './modules/empowerModule'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    state: stateModule,
    userInfo: userInfoModule,
    userAddress: userAddressModule,
    userOrder: userOrderModule,
    empower: empowerModule
  }
})
